package com.nw.dsl4j.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * A token. 
 * if token is fixed - i.e, a keyword, set the keyword flag to true.
 * @author elik
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Token {
	public String pattern() default "";
	public boolean keyword() default false;
}
